Woolentor\Modules\FlashSale\Woolentor_Flash_Sale D

Total Complexity 130
Dependencies 1
Dependents 1
Total lines 541
Lines of code 342
Logical lines of code 231
Comment lines 83
Methods 20
Properties 1

Methods 20

Method Rating Maintainability Complexity Lines of code
flash_sale_display_price()
B
40 20 55
datetime_validity()
A
51 13 26
products_validity()
A
52 12 24
get_calculated_price()
A
50 10 27
user_validity()
A
54 9 20
get_deal()
A
56 9 16
render_countdown()
A
46 7 36
flash_sale_price_simple()
S
58 8 13
get_calculated_price_variable()
S
56 7 16
flash_sale_price_variable()
S
59 7 12
variable_product_prices_hash()
S
60 6 12
get_grouped_prices()
S
55 5 19
filter_get_item_data()
S
59 5 13
enqueue_scripts()
S
70 4 6
__construct()
S
56 1 17
get_remaining_time()
S
62 2 10
get_instance()
S
72 2 6
init()
S
82 1 3
includes()
S
80 1 3
define_constants()
S
73 1 8